import request from '@/util/request'
import baseUrl from './base'

export function listOtaProduct(data) {
  return request({
    url: baseUrl + '/ota/product/list',
    method: 'post',
    data
  })
}

export function insertOtaProduct(data) {
  return request({
    url: baseUrl + '/ota/product/insert',
    method: 'post',
    data
  })
}

export function updateOtaProduct(data) {
  return request({
    url: baseUrl + '/ota/product/update',
    method: 'post',
    data
  })
}

export function deleteOtaProduct(data) {
  return request({
    url: baseUrl + '/ota/product/delete',
    method: 'post',
    data
  })
}

